home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils1 / cat300.zip / SCAT.DOC < prev   
Text File  |  1994-06-26  |  8KB  |  177 lines

  1.  
  2.  
  3.                                  Version 3.0
  4.  
  5.                   CAT.EXE is written, by me, Mark J. Ruskin.
  6.  
  7.                          (All Rights Reserved).
  8.  
  9.                This is the ShareWare version of CAT.EXE.
  10.  
  11.        No claims are made as to the program's suitability for any specific
  12.    purpose.  The author disavows responsibility for any damages resulting
  13.    from the use of this program.
  14.  
  15.  
  16.   The "ShareWare" means if you use the program after a reasonable trial
  17.   period, (30 days) please send me $10.00 for registration, so I can pay
  18.   some bills too:
  19.  
  20.   Mark Ruskin
  21.   1100 Westwood Dr.
  22.   Tullahoma, TN 37388-2836
  23.   Phone (615) 393-2534 or 455-8208
  24.  
  25.   You can also leave me E-Mail on my Local BBS
  26.   The ElkRiver BBS (615) 455-1019 or 454-2295
  27.   Thanks
  28.  
  29.   For the $10.00 registration fee you'll get the latest version of CAT,
  30.   without the annoying message at the end , each time you use it. Or, after
  31.   30 days the pause for 30 seconds after each time you run the program.
  32.   That way it will run a little faster. You can also send in suggestions on
  33.   modifications, and request any custom enhancements. If I can, I'll do the
  34.   mods and send it to you as soon as possible. That way you'll get a standard
  35.   version right away and a custom version, as soon as I can get it done,
  36.   for only $10.00.
  37.  
  38.               Ok, the money part's over with, on with the DOCS.
  39.  
  40.   >>>>>>>>>>> YOU MUST USE THE INSTALL.EXE FILE FOR INSTALLATION <<<<<<<<<<<
  41.  
  42.   If you don't, the program will NOT run, as it won't be able to find it's
  43.   DATA file. The Install program will list all the Drives/Directories in your
  44.   PATH= statement, from your AUTOEXEC.BAT file, and let you choose which
  45.   Drive/Directory you want to Install the program to.
  46.  
  47.   CAT came about because I don't care for the MS-DOS "DIR" command, and I
  48.   didn't exactly like some of the alternatives I tried. So, I decided to
  49.   write my on alternative! Easier said than done.
  50.  
  51.   System requirements:
  52.   IBM PC/XT, AT or 100% compatible.
  53.   A Hard Disk Drive.
  54.   As far as memory requirements goes. If you've got a PC/XT with 256K of RAM
  55.   you'll have no problems.
  56.  
  57.   The version of DOS should be at least 3.2 or better. I've tested it with
  58.   version 3.3, 5.0, and 6.20, with no problems.
  59.  
  60.               Now, on to how it works, and how to work it.
  61.  
  62.   The program displays a directory listing of a disk and/or subdirectory,
  63.   with the text centered.
  64.   See the 3 Sample LST files for a look at how it lists.
  65.  
  66.   If your CATaloging a subdirectory, you won't get the two DIR files with
  67.   periods. I've always disliked having these two files show up.
  68.  
  69.   The first line displays the disk name, if any, if not it says so.
  70.   The second line displays the PathName. ie. Drive Letter\ and Path if a
  71.   subdirectory.
  72.  
  73.   Next is a listing of file names, extension, size in bytes, size (in K-bytes),
  74.   and date. It displays ALL files, System, Hidden, and DIR files.
  75.  
  76.           Remember about this when you CAT a Bootable disk.
  77.  
  78.   You'll get two different totals with CAT and the DOS, DIR command. This is
  79.   because the DIR command Does Not include the two System files, IO.SYS and
  80.   MSDOS.SYS. The difference in K-bytes between CAT and the DIR command is
  81.   about 69K under MS-DOS 5.0. You'll also get a difference in total number
  82.   of files listed. It will be two more using CAT than when you use the DIR
  83.   command.
  84.  
  85.                     DIR Will Not list hidden files.
  86.  
  87.   At the end of the file list it tells you how many K-bytes used with how
  88.   many files. I used the K-bytes,(1K-bytes = 1024 bytes), because I think
  89.   it's a pain to figure how many K is used by dividing bytes by 1024. It's
  90.   accurate to 2 decimal places (1/100th of a K), and I like it a lot better.
  91.  
  92.   Next, It tells you how many K-bytes are free on the disk and the total
  93.   number of K-bytes the disk is able to hold when empty. If there aren't
  94.   any files or directories on the disk it will tell you, the number of
  95.   K-bytes free and total K-bytes the disk is able to hold will be the same.
  96.   (M-bytes = MegaBytes, where apropriate)
  97.  
  98.   If you have an empty 360K disk and CAT it, it will tell you that there is
  99.   354 K-bytes available on the disk. Believe me, that's how many K-bytes
  100.   there actually is on a formatted 360K disk, if it doesn't have any files
  101.   or bad blocks.
  102.   You can check it out if you want. If you divide 362,496 by 1024, you'll
  103.   get 354 even.
  104.  
  105.                    Enough about K-bytes and bytes.
  106.  
  107.                 >>What you can control in the program.<<
  108.  
  109.   While it's listing files in a directory or on a disk's root directory,
  110.   you can:
  111.  
  112.   Press "Q" or "q" to halt and quit.
  113.  
  114.   Press any ASCII (alfa-numeric) key to pause it. Press another ASCII key to
  115.   continue scrolling.
  116.  
  117.   Press an Extended key, after pausing, to scroll one line at a time.
  118.   ie. Press an ASCII key to pause, and a Function key (F1 thru F10) or an
  119.   Arrow key, and the display will scroll one more line, listing the next
  120.   file in the directory. If there is a next file. You can do this down to
  121.   the last file in the direcory. After the last file is listed it displays
  122.   the totals and then displays the annoying message, pleading for the
  123.   registration fee.
  124.  
  125.   If you want to CAT another disk and/or directory, include it on the
  126.   command line.
  127.  
  128.   ie. "CAT C:\BIN\XTRAS" would CATalog the "XTRAS" directory on drive C: in
  129.   the "BIN" directory.
  130.   If you just want to catalog another disk's default Directory, you don't
  131.   have to  put the colon or back slash. "CAT C" is the same as "CAT C:".
  132.   If the default directory is not the Root Directory, and you want to
  133.   CATalog the Root, then you need to add the colon and back slash.
  134.  
  135.   If the default directory is "C:\BIN", and you want to CATalog the Root
  136.   Directory, you would have to include the colon and back slash.
  137.   ie. "CAT C:\".
  138.  
  139.   You can also give a file to list or a file Type ie: CAT *.ZIP would list
  140.   all the ZIP files in the current directory. Or CAT COMMAND.COM would list
  141.   only the file COMMAND.COM, if it was in the current directory.
  142.  
  143.   Another mod I've done was to add a paging switch. This will cause CAT to
  144.   pause after each screen full of listings and at the bottom of the screen
  145.   tell you to "Q to Quit", If you hit any key but Q or q it will display the
  146.   next screen of listings. To do this: CAT / or CAT *.ZIP /. The '/' (forward
  147.   slash) is the paging switch.
  148.  
  149.   If you want to redirect the listing to a file instead of the screen:
  150.   CAT ? D:\DRV_C.LST would CATalog the current drive/directory to the file
  151.   on drive D: with a file name of DRV_C.LST. The '?' is the Save To File
  152.   switch. You can also us the '?' with a file spec, ie:
  153.  
  154.   CAT C:\UTIL *.BAT ? D:\UTIL_BAT.LST
  155.  
  156.   This would list all the BAT files in "C:\UTIL\" and save the listing to
  157.   the file named "UTIL_BAT.LST" in the Root Directory of drive D:\.
  158.   I've included some sample listings I made with CAT and the '?' redirector
  159.   switch. (SAMPLE1, 2, & 3.LST)
  160.   (I tried to us the '>' key like DOS does, but DOS got in the way
  161.   because it is a redirector switch for DOS, Oh Well).
  162.  
  163.   CAT now displays both the bytes and K-bytes for each file, unless it's a
  164.   subdirectory file. I've also modified the K-bytes listing to show up as
  165.   an 'M' if the file is = or greater than 1.0 Megabytes. In other words, if
  166.   a file is 1048576 bytes or more it will show up as 1.00 M in the K-bytes
  167.   column instead of 1024 K. I did this mainly because of my STACKER.000 files
  168.   being multi-Megabytes in size and messing up my columns with the K-bytes
  169.   being so large.
  170.  
  171.   Well, that's about all there is to it. I hope you find my first
  172.   contribution to the world of programming useful.
  173.  
  174.   Enjoy,
  175.  
  176.   Mark J. Ruskin
  177.